<?php
/**
 * Created by PhpStorm.
 * User: sunshine
 * Date: 2016/8/31
 * Time: 8:48
 */

require_once ('Admin/View/template/inc_admin.php');

?>

<div class="col-md-10  col-xs-12 col-sm-10 col-sm-offset-1 col-md-offset-1 col-xs-offset-1"  style="position: relative;top: 50px;"  >
    <h2 style="color: #03c2f9; margin-bottom: 0px;padding-bottom: 0px;"><p class="bg-white" style="margin-bottom: 10px;margin-top: 10px" >添加试卷</p></h2>
    <h4><p class="bg-info" style="margin-top:0px ;padding:10px" ><a href="admin.php" style="color: white">首页&nbsp;</a>/&nbsp;添加试卷</p></h4>
</div>
<div style="margin-top: 180px;margin-left: 250px;font-size: 20px;font-family: 微软雅黑"><p>请填写试卷信息</p></div>
<div class="container-fluid" >

<form method="post" action="admin.php?c=painfo&m=add" enctype="multipart/form-data" class="form-horizontal">
    <div class="form-group">
        <label for="exampleInputUserName1" class=" control-label col-sm-offset-2 col-md-2 " >试卷名：</label>
        <div class=" col-md-4" >
            <input type="text" name="pname" class="form-control" id="exampleInputUserName1" required>
        </div>
    </div>
    <div class="form-group">
        <label class="col-md-2 col-sm-offset-2 control-label"  >试题类别：</label>
        <div class="col-md-4" >
            <select class="form-control" name="typeid">
                <option value="0" >请选择</option>
                <option value="1" >语文</option>
                <option value="2" >数学</option>
                <option value="3">外语</option>
                <option value="4" >物理</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="exampleInputDate2" class="col-md-2 col-sm-offset-2 control-label" >考试总时间：</label>
        <div class="col-md-4" >
            <input type="text" name="totaltime" class="form-control" id="exampleInputDate2  "  placeholder="请填写纯数字，单位（分钟）" required>
        </div>
    </div>
    <div class="form-group">
        <label for="exampleInputDate1" class="col-md-2 col-sm-offset-2 control-label" >试卷码：</label>
        <div class="col-md-4" >
            <input type="text" name="code" class="form-control" id="exampleInputDate1" >
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-5 col-sm-4" >
            <input type="submit" class="btn btn-success" value="提交">
            <input type="reset" class="btn btn-danger " value="重置" style="margin-left: 120px">
        </div>

    </div>
</form>
</div>
</body>
</html>
